package com.wiloon.java8x.encodedecode;


import org.apache.commons.codec.binary.Base64;

/**
 * Created by Roy on 2015/9/11;
 */
public class EncodeDecode {
    public static void main(String[] args) {
        String str = "xxxxxx";
        byte[] byteArr = Base64.decodeBase64(str);
        System.out.println(new String(byteArr));

    }
}
